Send Post request
Request:
"|3|2|url,content|\r"
Parameters:
url
Set Get request url link
content
The data send by post request
Returns:
"|3|code|data|\r"
Parameters:
code
The returned success or error code by http request
success: code = 200
failed to get data: code = -1
http request string is wrong: code = 1
data
The returned data by http request
Arduino Sample:
softSerial.print("|3|2|http://192.168.9.122:8080/input?id=1&val=22,{"data":"b"}|\r");